Motion.SetGroupParameter 方法

設定軸組的參數值。參數於 McGroupParameter 中定義。

命名空間IntervalZero.KINGSTAR.Local.Api

組合: IntervalZero.KINGSTAR.Local.Api (於 IntervalZero.KINGSTAR.Local.dll) 版本:4.4.0.0

語法

C#VB
public KsCommandStatus SetGroupParameter(
       int Index,
       McGroupParameter ParameterNumber,
       double Value,
       McExecutionMode ExecutionMode
)
Public Function SetGroupParameter(
       Index As Integer,
       ParameterNumber As McGroupParameter,
       Value As Double,
       ExecutionMode As McExecutionMode
) As KsCommandStatus

參數

Index [in]

型別:int

軸組的索引。索引以 0 為起始。最多可有 32 個軸組。

 

ParameterNumber [in]

型別:McGroupParameter

McGroupParameter 中的參數。

 

Value [in]

型別:double

將值寫入從 McGroupParameter 中選取的參數。例如選取 McGroupParameter 中的 mcMaxVelocityACS 參數,則須將值寫入此參數。

 

ExecutionMode [in]

型別:McExecutionMode

定義方法的時間順序。

回傳值

型別:KsCommandStatus

回傳 KsCommandStatus 類別。

範例

C#
N/A

參見

Motion 類別

IntervalZero.KINGSTAR.Local.Api 命名空間